package com.ayu.shortlink.settlement.common.constant;

/**
 * 用户后端 Redis的常量
 */
public class RedisCacheConstant {

    /**
     * 订单消息
     */
    public final static String ORDER_PAY_INFO = "short-link:order_pay_info:%s";

    /**
     * 用户获取优惠券次数存储在Redis的Key
     */
    public final static String USER_OBTAIN_COUPON_TIME_KEY = "short-link:user_obtain_coupon_time:user:%s-coupon:%s";

    /**
     * 用户获取优惠券存储在Redis的Key
     */
    public final static String USER_OBTAIN_COUPON_KEY = "short-link:user_obtain_coupon_time:user:%s-coupon:%s";
}
